package com.jpa.service;

import java.util.List;
import com.jpa.pojo.Role;
import com.jpa.pojo.User;

public interface UsersService {
	
	User findByUsername(String username);
	
	List<User> findAll();
	
	/**
	 * 查找用户的菜单权限标识集合
	 * @param  name
	 * @return List<Role>
	 */ 
	 List<Role> findRoles(String name);
	 
}
